package model

import (
	"gorm.io/gorm"
)

type User struct {
	gorm.Model
	Username string `json:"username" form:"username"`
	Nickname string `json:"nickname"`
	Password string `json:"password" form:"password"`
	Avatar   string `json:"avatar"`
	Mobile   string `json:"mobile"`
	Email    string `json:"email"`
	RoleCode int    `json:"role_code"`
	Gender   int    `json:"gender"`
	State    int    `json:"state"` // 正常0 禁止1
}
